package operation;

import Book.Book;
import Book.Booklist;

/**
 * Created with IntelliJ IEDA.
 * Description:
 * User:86186
 * Date:2022-05-23
 * Time:21:27
 */
public class DisplayOperation implements IOperation{

    @Override
    public void work(Booklist booklist) {
        System.out.println("展示图书");
        for (int i = 0; i < booklist.getUsedSize(); i++) {
            System.out.println(booklist.getBooks(i));
        }
    }
}
